<?php if(!defined('CMS'))die?>
<article id="sl_article">
    <h1 class="jaunumi_main_article_title sl_dl"><?=  $title ?></h1>
    <div class="sludinajuma_delis_record_text sl_d_txt">
        <?= $text ?>
    </div>
</article>
<?php if ($pic_so) : ?>
    <div id="sl_img_cnt">
        <div id="sl_pgs">
            <div id="sl_pgs_c">
                <?php for ($i = 1; $i < $pic_so + 1; $i++) : ?>
                    <div class="sl_pg" data-page="<?=  $i ?>"></div>
                <?php endfor ?>
            </div>
        </div>
        <div class="sl_href" id="sl_left_l">
            <div id="sl_href_l"></div>
        </div>
            <div class="pic_slider">
                <?= $pic ?>
            </div>
        <div class="sl_href" id="sl_right_r">
            <div id="sl_href_r"></div>
        </div>
    </div>
<?php endif; ?>
<div id="sl_btm">
	<div id="sl_btm_inn">
		<table>
			<?php
				foreach ($table as $v) {
					echo $v;
				}
			?>
		</table>
	</div>
</div>
<script src="/js/slider_adver.js"></script>
<script>
$(".gallery").colorbox({rel:"gallery", transition:"fade"});
</script>